package cfca.seal.front.service.ws.bean;

import cfca.seal.util.StringUtil;

public class SignBean
{
  private String sealCode;
  private String sealPassword;
  private String sealFileName;
  private String sealPerson;
  private String sealLocation;
  private String sealReason;

  public String getSealCode()
  {
    return this.sealCode;
  }
  public void setSealCode(String sealCode) {
    this.sealCode = sealCode;
  }
  public String getSealPassword() {
    return this.sealPassword;
  }
  public void setSealPassword(String sealPassword) {
    this.sealPassword = sealPassword;
  }
  public String getSealFileName() {
    return this.sealFileName;
  }
  public void setSealFileName(String sealFileName) {
    this.sealFileName = sealFileName;
  }
  public String getSealPerson() {
    return this.sealPerson;
  }
  public void setSealPerson(String sealPerson) {
    this.sealPerson = sealPerson;
  }
  public String getSealLocation() {
    return this.sealLocation;
  }
  public void setSealLocation(String sealLocation) {
    this.sealLocation = sealLocation;
  }
  public String getSealReason() {
    return this.sealReason;
  }
  public void setSealReason(String sealReason) {
    this.sealReason = sealReason;
  }
  public SignBean(String xml) {
    this.sealCode = StringUtil.getNodeText(xml, "SealCode");
    this.sealPassword = StringUtil.getNodeText(xml, "SealPassword");
    this.sealFileName = StringUtil.getNodeText(xml, "sealFileName");
    this.sealPerson = StringUtil.getNodeText(xml, "SealPerson");
    this.sealLocation = StringUtil.getNodeText(xml, "SealLocation");
    this.sealReason = StringUtil.getNodeText(xml, "SealResson");
  }
}